package com.entor.controller;

import javax.annotation.Resource;

import org.apache.poi.ss.usermodel.Chart;
import org.apache.xmlbeans.impl.store.CharUtil;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.entor.service.ChartService;
import com.entor.util.ChartUtil;

@Controller
@RequestMapping("/chart")
public class ChartController {
	
	@Resource(name="chartService")
	private ChartService cs;
	
	@RequestMapping("/dount")
	@ResponseBody
	public String dount(){
		return cs.RoleMenuDount();
	}
	@RequestMapping("/exis")
	@ResponseBody
	public String exis(){
		return cs.RoleMenuAxis();
	}
	@RequestMapping("/axis")
	@ResponseBody
	public String axis(){
		return ChartUtil.exis();
	}

}









